package com.mall.client.user;

import java.util.List;

import com.mall.pojo.Collection;
import com.mall.pojo.CollectionExample;
import com.mall.query.collection.CollectionQuery;


public interface CollectionService {

	List<Collection> getCollectionByExample(CollectionExample example);

	int insertCollection(Collection collection);

	Collection getCollectionInfoByExample(CollectionExample example);

	Collection getCollectionById(Long id);

	int modifyCollection(Collection collection);

	int getCollectionCountByExample(CollectionExample example);
	
	Collection getCollectionByCollectionQuery(CollectionQuery query);
	
	//List<Collection> getCollectionByUser(CollectionExample example);
	
	//Collection getCollectionByUser(Long mallId,Long userId,Integer status,Integer onlyKey);

}
